﻿Namespace QuanLyKhachHang
    Public Class DonHang
        'IDDonHangBan | So | TenKhachHang | MaSoThue | DiaChi | NgayBan | TongTien | TrangThai
        Private _STT As String
        Private _IDDonHangBan As Integer
        Private _So As String
        Private _TenKhachHang As String
        Private _MaSoThue As String
        Private _DiaChi As String
        Private _NgayBan As String
        Private _TongTien As Single
        Private _DoanhThu As String
        Private _TrangThai As String
        ' initialization
        Public Sub New()

        End Sub

        ' public properties

        Public Property STT() As String
            Get
                Return _STT
            End Get
            Set(ByVal Value As String)
                _STT = Value
            End Set
        End Property


        Public Property IDDonHangBan() As Integer
            Get
                Return _IDDonHangBan
            End Get
            Set(ByVal Value As Integer)
                _IDDonHangBan = Value
            End Set
        End Property

        Public Property So() As String
            Get
                Return _So
            End Get
            Set(ByVal Value As String)
                _So = Value
            End Set
        End Property

        Public Property TenKhachHang() As String
            Get
                Return _TenKhachHang
            End Get
            Set(ByVal Value As String)
                _TenKhachHang = Value
            End Set
        End Property

        Public Property MaSoThue() As String
            Get
                Return _MaSoThue
            End Get
            Set(ByVal Value As String)
                _MaSoThue = Value
            End Set
        End Property

        Public Property DiaChi() As String
            Get
                Return _DiaChi
            End Get
            Set(ByVal Value As String)
                _DiaChi = Value
            End Set
        End Property

        Public Property NgayBan() As String
            Get
                Return _NgayBan
            End Get
            Set(ByVal Value As String)
                _NgayBan = Value
            End Set
        End Property

        Public Property DoanhThu() As String
            Get
                Return _DoanhThu
            End Get
            Set(ByVal Value As String)
                _DoanhThu = Value
            End Set
        End Property

        Public Property TongTien() As Single
            Get
                Return _TongTien
            End Get
            Set(ByVal Value As Single)
                _TongTien = Value
            End Set
        End Property

        Public Property TrangThai() As String
            Get
                Return _TrangThai
            End Get
            Set(ByVal Value As String)
                _TrangThai = Value
            End Set
        End Property
    End Class
End Namespace
